package com.bootdo.wx.dao;

import com.bootdo.wx.domain.GoodsBargainDO;

import java.util.List;
import java.util.Map;

import org.apache.ibatis.annotations.Mapper;

/**
 * 商品砍价设置
 * @author chglee
 * @email 1992lcg@163.com
 * @date 2019-07-03 11:05:58
 */
@Mapper
public interface GoodsBargainDao {

	GoodsBargainDO get(String id);
	
	List<GoodsBargainDO> list(Map<String, Object> map);
	
	int count(Map<String, Object> map);
	
	int save(GoodsBargainDO goodsBargain);
	
	int update(GoodsBargainDO goodsBargain);
	
	int remove(String id);
	
	int batchRemove(String[] ids);

	List<Map<String,Object>> getBargainGoodsList(Map<String, Object> paramMap);

	int updateByOld(Map<String, Object> params);

	List<Map<String,Object>> getBargainList(Map<String, Object> map);

	int getBargainListCount(Map<String, Object> map);
}
